package org.example.myleet.p587;

import org.example.myleet.Utils.Assert;
import org.example.myleet.Utils.JsonUtils;
import org.example.myleet.Utils.Parser;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue("[[1,1],[2,0],[4,2],[3,3],[2,4]]".equals(JsonUtils.toJson(solution.outerTrees(Parser.parse("[[1,1],[2,2],[2,0],[2,4],[3,3],[4,2]]")))));
        Assert.isTrue("[[1,2],[4,2],[2,2]]".equals(JsonUtils.toJson(solution.outerTrees(Parser.parse("[[1,2],[2,2],[4,2]]")))));
    }
}
